<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:47:"../public/templete/AdminThemes/user\detail.html";i:1551339848;s:56:"../public/templete/AdminThemes/layout\common_layout.html";i:1550549159;}*/ ?>
<!doctype html>
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">

    <title>资金盘后台管理系统</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="__JS__/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="__ADMIN_TMPL__/font/css/font-awesome.min.css">
    <!--CSS引用-->
    
    <link rel="stylesheet" href="__ADMIN_TMPL__/css/admin.css">
    <!--[if lt IE 9]>
    <script src="__JS__/html5shiv.min.js"></script>
    <script src="__JS__/respond.min.js"></script>
    <![endif]-->
    
</head>

<body>

    <!--tab标签-->
    <div class="layui-tab layui-tab-brief">
        <ul class="layui-tab-title">
            <li class=""><a href="<?php echo url('admin/user/index'); ?>">用户管理</a></li>
            <li class="">编辑</li>
            <!--<li class="layui-this">编辑用户</li>-->
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <form class="layui-form form-container" action="<?php echo url('admin/user/update'); ?>" method="post">
                    <div class="layui-form-item">
                        <label class="layui-form-label">账号：</label>
                        <div class="layui-input-block">
                            <input type="text"  value="<?php echo $detail['u_email']; ?>" readonly   style="background-color: #b1b1b1" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">邀请码：</label>
                        <div class="layui-input-block">
                            <input type="text"  value="<?php echo $detail['u_code']; ?>" readonly   style="background-color: #b1b1b1" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">上级用户：</label>
                        <div class="layui-input-block">
                            <input type="text"  value="<?php echo $detail['uoneeamil']; ?>" readonly   style="background-color: #b1b1b1" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">余额：</label>
                        <div class="layui-input-block">
                            <input type="text"  value="<?php echo $detail['u_dollar_balance']; ?>" name="u_dollar_balance" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">支付宝：</label>
                        <div class="layui-input-block">
                            <input type="text" name = u_alipay  value="<?php echo $detail['u_alipay']; ?>"  class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">银行卡类型</label>
                        <div class="layui-input-block">
                            <select name="u_bank_type" >
                                <option value="1" <?php if($detail['u_bank_type']==1): ?> selected="selected"<?php endif; ?>>工商银行</option>
                                <option value="2" <?php if($detail['u_bank_type']==2): ?> selected="selected"<?php endif; ?>>农业银行</option>
                                <option value="3" <?php if($detail['u_bank_type']==3): ?> selected="selected"<?php endif; ?>>中国银行</option>
                                <option value="4" <?php if($detail['u_bank_type']==4): ?> selected="selected"<?php endif; ?>>建设银行</option>
                                <option value="5" <?php if($detail['u_bank_type']==5): ?> selected="selected"<?php endif; ?>>交通银行</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">卡号：</label>
                        <div class="layui-input-block">
                            <input type="text"  value="<?php echo $detail['u_bank_card_code']; ?>" name="u_bank_card_code" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">银行卡户主：</label>
                        <div class="layui-input-block">
                            <input type="text"  value="<?php echo $detail['u_name_bank']; ?>" name="u_name_bank" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">银行卡预留手机号：</label>
                        <div class="layui-input-block">
                            <input type="text"  value="<?php echo $detail['u_bank_phone']; ?>" name="u_bank_phone" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">账号状态：</label>
                        <div class="layui-input-block">
                            <?php if($detail['u_status']==1): ?>
                            <input type="text" value="正常" readonly   style="background-color: #b1b1b1" class="layui-input">
                            <?php else: ?>
                            <input type="text" value="禁止" readonly   style="background-color: #b1b1b1" class="layui-input">
                            <?php endif; ?>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">账号属性：</label>
                        <div class="layui-input-block">
                            <?php if($detail['u_type']==1): ?>
                            <input type="text" value="注册用户" readonly   style="background-color: #b1b1b1" class="layui-input">
                            <?php else: ?>
                            <input type="text" value="系统用户" readonly   style="background-color: #b1b1b1" class="layui-input">
                            <?php endif; ?>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">累计收益：</label>
                        <div class="layui-input-block">
                            <input type="text"  value="<?php echo $detail['u_all_profit']; ?>" readonly   style="background-color: #b1b1b1" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <input type="hidden" name="u_id" value="<?php echo $detail['u_id']; ?>">
                            <button class="layui-btn" lay-submit lay-filter="*">更新</button>
                            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>

<!--网站主体-->
<script>
    // 定义全局JS变量
    var GV = {
        base_url: "__STATIC__"
    };
</script>
<!--JS引用-->
<script src="__JS__/jquery.js"></script>
<script src="__JS__/layui/lay/dest/layui.all.js"></script>
<script src="__JS__/common.js"></script>

<!--页面JS脚本-->

</body>
</html>